/*
 *  map.h
 *  OpenGL-PingPongCpp
 *
 *  Created by wu di on 12-7-8.
 *  Copyright 2012 UTS. All rights reserved.
 *
 */
#include<glut/glut.h>
#include<time.h>
#include<stdlib.h>

#define row 22
#define column 12

#define blocksize 6
#define xoffset 60
#define yoffset 40

void initMatrix();
void drawMatrixRectf(int x,int y);
void drawBlock();
void cleanMatrix();
void drawShape();
void ShapeChangeState();

void MoveLeft();
void MoveRight();
void MoveDown();
void updateShape();
